#pragma once

#include "nvs_flash.h"
#include "esp_log.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

#ifdef __cplusplus
extern "C" {
#endif

void nvs_init(void);
void nvs_deinit(void);
int32_t nvs_read(const char *namespace_name,const char *key);
void nvs_write(const char *namespace_name,const char *key, int32_t value);

#ifdef __cplusplus
}
#endif

